package com.haidechizi.i18n.spring.boot.annotation;

import com.haidechizi.i18n.spring.boot.autoconfigure.I18nAopAutoConfiguration;
import com.haidechizi.i18n.spring.boot.autoconfigure.I18nServiceAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * 启用spring项目AOP切面
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({I18nAopAutoConfiguration.class, I18nServiceAutoConfiguration.class})
public @interface EnableI18nAopConfiguration {
}
